<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>

<fieldset id="fieldsetDialog">
    <legend class="fieldsetLabelDialog"><bean:message key="device.devicebox.type" bundle="device"/></legend>
    <div class="deviceDialogType"><label class="myDescription">${requestScope.item.type}</label> ${requestScope.item.name} ${requestScope.item.vendor} ${requestScope.item.model} </div>
</fieldset>

<fieldset id="fieldset">
    <legend class="fieldsetLabelDialog"><bean:message key="device.devicebox.features" bundle="device"/></legend>
    <div class="deviceDialogFeatures">
    <c:forEach items="${requestScope.item.devices}" var="dev">
    	<p><label class="myDescription">${dev.name}: </label><span>${dev.vendor} ${dev.model} ${dev.size}</span></p>
    </c:forEach>	
    </div>
</fieldset>